<template>
<svg :style="{width: width, height: height}">
    <use :xlink:href="prefix+name" :fill="color" ></use>
  </svg>
</template>
<script setup lang="ts">

defineProps({
    prefix:{
        type: String,
        default: '#icon-'
    },
    name: {
        type: String,
        required: true
    },
    color: {
        type: String,
        default: 'currentColor'
    },
    width: {
        type: String,
        default: '16px'
    },
    height: {
        type: String,
        default: '16px'
    }
})
</script>
<style scoped></style>


